package cn.edu.scau.cmi.wuzhenxin.adapter;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class AdapterClient extends Application{
	public static void main(String[] args) {
		launch(args);
	}
	
	public void start(Stage stage) {
		try {
            Parent root = FXMLLoader.load(getClass().getResource("adapter.fxml"));
            Scene scene = new Scene(root,470,366);
            stage.setScene(scene);
            stage.setResizable(false);
            stage.setTitle("适配器模式");
            stage.show();
        } catch(Exception e) {
            e.printStackTrace();
        }
	}
}
